package com.stefanini.pe.bbva.mbl.in.bo;


import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.LogAccion;
import com.stefanini.pe.bbva.mbl.carga.in.to.LogAccionKey;
import com.stefanini.pe.bbva.mbl.in.bo.iface.LogAccionBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.LogAccionDAO;

public class LogAccionBOImpl implements LogAccionBO  {
	LogAccionDAO logAccionDAO;

	public LogAccionBOImpl(LogAccionDAO logAccionDAO) {
		super();
		this.logAccionDAO=logAccionDAO;
		
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#deleteByPrimaryKey(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccionKey)
	 */
	public int deleteByPrimaryKey(LogAccionKey key) {
		return logAccionDAO.deleteByPrimaryKey(key);
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#insert(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccion)
	 */
	public void insert(LogAccion record) {
		logAccionDAO.insert(record);
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#insertSelective(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccion)
	 */
	public void insertSelective(LogAccion record) {
		logAccionDAO.insertSelective(record);
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#selectByPrimaryKey(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccionKey)
	 */
	public LogAccion selectByPrimaryKey(LogAccionKey key) {
		return logAccionDAO.selectByPrimaryKey(key);
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#updateByPrimaryKey(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccion)
	 */
	public int updateByPrimaryKey(LogAccion record) {
		return logAccionDAO.updateByPrimaryKey(record);
	}

	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.LogAccionBO#updateByPrimaryKeySelective(com.stefanini.pe.bbva.mbl.carga.in.to.LogAccion)
	 */
	public int updateByPrimaryKeySelective(LogAccion record) {
		return logAccionDAO.updateByPrimaryKeySelective(record);
	}
	
	public List selectAll() {
		
		return logAccionDAO.selectAll();
	}



	public List selectByCriteria(LogAccion logAccion) {
		
		return logAccionDAO.selectByCriteria(logAccion);
	}
}
